﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using BusinessLayer.WorldArtPrice.Entities;

namespace BackEnd.Models
{
    public class PriceModel
    {
        public int ID { get; set; }        
        public int ArtistId { get; set; }
        [Display(Name = "Title")]
        public string ItemName { get; set; }
        [Display(Name = "Item Type")]
        public string ItemTypeName { get; set; }
        public int ItemType { get; set; }
        [Display(Name = "Item Type Description")]
        public string ItemTypeDescription { get; set; }
        [Display(Name = "Height")]
        public decimal Height { get; set; }
        [Display(Name = "Width")]
        public decimal Width { get; set; }
        [Display(Name = "Depth")]
        public decimal Depth { get; set; }
        [Display(Name = "Measurement")]
        public string Measurement { get; set; }
        [Display(Name = "Signed")]
        public bool Signed { get; set; }
        [Display(Name = "Stamped")]
        public bool Stamped { get; set; }
        [Display(Name = "Inscribed")]
        public bool Inscribed { get; set; }
        [Display(Name = "Dating")]
        public string Dating { get; set; }
        [Display(Name = "Lotnumber")]
        public string Lotnumber { get; set; }
        [Display(Name = "Auction Time")]
        public DateTime AuctionTime { get; set; }
        [Display(Name = "Auction House")]
        public string AuctionHouseName { get; set; }
        public int AuctionHouse { get; set; }
        [Display(Name = "Auction House Sublocation")]
        public string AuctionHouseSublocationName { get; set; }
        public int AuctionHouseSublocation { get; set; }
        [Display(Name = "Auction number")]
        public string Auctionnumber { get; set; }
        [Display(Name = "Estimated From")]
        public int EstimatedFrom { get; set; }
        [Display(Name = "Estimated To")]
        public int EstimatedTo { get; set; }
        [Display(Name = "Estimated Currency")]
        public string EstimatedCurrencyName { get; set; }
        public int EstimatedCurrency { get; set; }
        [Display(Name = "Price")]
        public int Price { get; set; }
        [Display(Name = "PriceCurrency")]
        public string PriceCurrencyName { get; set; }
        public int PriceCurrency { get; set; }
        [Display(Name = "PriceInUS")]
        public int PriceInUS { get; set; }
        [Display(Name = "Premium")]
        public bool Premium { get; set; }
        [Display(Name = "Unsold")]
        public bool Unsold { get; set; }
        [Display(Name = "Edition")]
        public string Edition { get; set; }
        [Display(Name = "Foundry")]
        public string Foundry { get; set; }
        [Display(Name = "Impression")]
        public string Impression { get; set; }        
        [Display(Name = "Image")]
        public string Image { get; set; }  

        public PriceModel()
        {
            ID= 0;
            ArtistId= 0;
            ItemName= "";
            ItemType= 0;
            ItemTypeDescription= "";
            Height= 0;
            Width= 0;
            Depth= 0;
            Measurement= "";
            Signed= false;
            Stamped= false;
            Inscribed= false;
            Dating= "";
            Lotnumber= "";
            AuctionTime= DateTime.Now;
            AuctionHouse= 0;
            AuctionHouseSublocation= 0;
            Auctionnumber= "";
            EstimatedFrom= 0;
            EstimatedTo= 0;
            EstimatedCurrency= 0;
            Price= 0;
            PriceCurrency= 0;
            PriceInUS= 0;
            Premium= false;
            Unsold= false;
            Edition= "";
            Foundry= "";
            Impression= "";            
        }
    }
}